package com.ahuan.service;

import com.ahuan.domain.Dept;
import com.ahuan.domain.Role;
import com.ahuan.domain.User;

import java.util.List;

public interface UserService {


    List<User> queryByPage(Integer page, Integer limit);

    boolean addUser(User user);

    boolean editUser(User user, String id);

    boolean resetPwd(String userId);

    boolean deleteUser(String userId);

    List<Role> queryRoleList();

    List<Dept> queryDeptList();
}
